accfda1fccac527bfeb45cda6878ddb20374e470,phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/BluetoothScanBroadcastReceiver.java,BluetoothScanBroadcastReceiver,onReceive,#Context#Intent#,20

Before Change



        PPApplication.loadPreferences(context);

        if (PPApplication.getGlobalEventsRuning(context))
        {

            boolean scanStarted = (BluetoothScanAlarmBroadcastReceiver.getWaitForResults(context));

After Change



        int forceOneScan = PPApplication.getForceOneBluetoothScan(context);

        if (PPApplication.getGlobalEventsRuning(context) || (forceOneScan == PPApplication.FORCE_ONE_SCAN_FROM_PREF_DIALOG))
        {

            boolean scanStarted = (BluetoothScanAlarmBroadcastReceiver.getWaitForResults(context));